<?php
	class xeploaihkbs
	{
		
		public $MaHocSinh = "";
		public $MaHanhKiem = 0;
		public $DiemTBHK = 0;
		public $HocKy = "";
		public $NamHoc = "";
		public $XepLoaiHK = "";
		
		public function Add()
		{
			$db = new xeploaihkdb();
			return $db->Add($this->MaHocSinh, $this->HocKy, $this->NamHoc, $this->DiemTBHK, $this->MaHanhKiem, $this->XepLoaiHK);
		}
		
		
		
		public function Update()
		{
			$db = new xeploaihkdb();
			return $db->Update($this->MaHocSinh, $this->HocKy, $this->NamHoc, $this->DiemTBHK, $this->MaHanhKiem, $this->XepLoaiHK);
		
		}
			
		public function GetList()
		{
			$db = new xeploaihkdb();
			return $db->GetList($this->MaHocSinh, $this->HocKy, $this->NamHoc);
		}
	}
?>